package com.gitee.secretopen.sso.excelmodel;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Author Xjt
 * @Date 2021/3/6 19:59
 * @Version 1.0
 */
@Data
public class LogUpload {

     @ExcelIgnore
     private Integer id;

    /**
     * 日志信息
     */
    @ExcelProperty("日志信息")
    private String info;

    /**
     * ip信息
     */
    @ExcelProperty("ip信息")
    private String ip;

    /**
     * 创建时间
     */
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    /**
     * 删除(0：正常，1：删除)
     */
    @ExcelIgnore
    private Integer isDelete;

    //每页数
    @ExcelIgnore
    private int pageSize = 0;

    //分页当前索引
    @ExcelIgnore
    private int pageIndex = 0;
}
